package com.lipy.springootrabbitmq.model;

import java.io.Serializable;

/**
 * @description:
 * @author: lipy
 * @create: 2020-09-22 22:20
 **/

public class User implements Serializable {

    private static final Long ID = 123124L;

    private Integer age;
    private String name;

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "user[name="+name+",age="+age+"]";
    }
}
